package com.ruoyi.framework.web.service;

import com.ruoyi.project.system.dept.domain.Dept;
import com.ruoyi.project.system.dept.service.IDeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("dept")
public class DeptService {
    @Autowired
    private IDeptService deptService;
    public List<Dept> getDept(){
        Dept dept=new Dept();
        return deptService.selectDeptList(dept);
    }
}
